<?php

// VUE ARTICLE
for ($x=0; $x<count($this->vue); $x++) {
?>

<form class="form-horizontal col-lg-6" role="form" method="POST" action="?composant=articles&action=update&idArticle=<?php echo $this->vue[$x]["ID"]; ?>" enctype="multipart/form-data">
    <input name="idArticle" type="hidden" value="<?php echo $id; ?>">

           Titre : 

           <div><input type="text" class="form-control" name="titre" value="<?php echo $this->vue[$x]["titre"]; ?>"></div>
                        <div><textarea class="form-control" rows="30" cols=150" name="contenu"><?php echo $this->vue[$x]["contenu"]; ?></textarea></div>
                    
        <button type="submit" method="POST" class="btn btn-primary col-lg-3 col-lg-offset-4" name="envoi">Envoyer</button>
    

</form>
<?php    
}